<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        window.onload = function () {
            console.log("静态注册onload事件");
        };
    </script>
</head>
<body>

</body>
</html>